package com.liaoyoule.multiple;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.core.env.Environment;

/**
 * Created by cdyoue on 2017/1/23.
 */
@Configuration
@Order(1)
public class DefaultProfileUtil implements EnvironmentAware {
    private static final Logger logger = LoggerFactory.getLogger(DefaultProfileUtil.class);





    @Override
    public void setEnvironment(Environment environment) {
        String property = environment.getProperty("spring.datasource.filters");
    }
}
